package com.study.common.security;
/**
 * 
 * @author dingyaming
 *
 */
public enum EnumCode {
	success,
	error,
	tokenerror,
	usererror,
	systemerror,
	experienceerror,
	/**success*/
	E0000(EnumCode.success),
	/**error*/
	E1000(EnumCode.error),;
	
	private EnumCode code;
	private String msg;
	
	private EnumCode() {
	}
	
	private EnumCode(EnumCode code) {
		this.code = code;
	}
	
	private EnumCode(String msg) {
		this.msg = msg;
	}

	private EnumCode(EnumCode code, String msg) {
		this.code = code;
		this.msg = msg;
	}

	public EnumCode getCode() {
		return code;
	}

	public String getMsg() {
		return msg;
	}

}
